package com.piece.core.framework.util.message;

import com.piece.core.framework.support.dto.PayloadDTO;

public interface LogOperatorRecord {

    /**
     * 监听消息执行逻辑
     */
    void doReceive(PayloadDTO payload) throws Exception;

    /**
     * 发送消息执行逻辑
     */
    void doSend(PayloadDTO payload) throws Exception;
}
